package com.yunxi.finance.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by chenmeng on 2019/9/21.
 */
@Data
public class CustomerRebateQueryRespVO implements Serializable {
    @ApiModelProperty(value = "订单号")
    private String orderNo;
    @ApiModelProperty(value = "渠道商编码")
    private String partnerCode;
    @ApiModelProperty(value = "渠道商名称")
    private String partnerName;
    @ApiModelProperty(value = "返利名称")
    private String rabateName;
    @ApiModelProperty(value = "返利金额")
    private BigDecimal rabateAmount;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonDeserialize(using=DateJsonDeserializer.class)
    @ApiModelProperty(value = "返利时间")
    private Date rabateTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonDeserialize(using=DateJsonDeserializer.class)
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "客户手机号")
    private String customerMobile;
    @ApiModelProperty(value = "客户姓名")
    private String customerName;
    @ApiModelProperty(value = "客户地址")
    private String customerAddress;
    @ApiModelProperty(value = "性别")
    private String sex;
    @ApiModelProperty(value = "客户来源")
    private String source;
    @ApiModelProperty(value = "省")
    private String province;
    @ApiModelProperty(value = "市")
    private String city;
    @ApiModelProperty(value = "区")
    private String region;
    @ApiModelProperty(value = "客户类型")
    private String customerType;
}
